package com.lc.admin.mapper;

import com.lc.admin.bean.NursingPlan;
import com.lc.admin.bean.NursingProjectPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlan> list(@Param("name") String name, @Param("status") Integer status);

    void save(NursingPlan nursingProject);

    void savePlanAndProjectList(List<NursingProjectPlan> nursingProjectPlan);

    NursingPlan findById(Long id);

    void edit(NursingPlan nursingProject);

    void enable(@Param("id") Long id,@Param("status") Integer status);

    void del(Integer id);

    List<NursingProjectPlan> findNursingTaskByLevelId(Long levelId);
}
